import { Module } from '@nestjs/common';
import { LoginService } from './login.service';
import { LoginController } from './login.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from 'src/modules/user/entities/user.entity';
import { RedisService } from '../../common/redis.service';
import { RedisProvider } from '../../common/redis.config';
@Module({
  imports: [TypeOrmModule.forFeature([User])],
  controllers: [LoginController],
  providers: [LoginService, RedisService, RedisProvider],
  exports: [LoginService]
})
export class LoginModule { }

